import http from '@/base/http';
/**
 * userInfo
 */
enum PaymentOrderAPI {
  createOrder = '/api/pay/wx/jsapi/create', // 创建订单
}

export function createOrder(data: any): Promise<any> {
  return http.post(PaymentOrderAPI.createOrder+'?payName='+data.payName+'&price='+data.price+'&openid='+data.id);
}
